StoreKeeper\WooCommerce\B2C\Tools\Attributes A

Total Complexity 60
Dependencies 13
Dependents 7
Total lines 519
Lines of code 352
Logical lines of code 151
Comment lines 65
Methods 20
Properties 0

Methods 20

Method Rating Maintainability Complexity Lines of code
importAttributeOption()
A
40 7 77
findMatchingAttribute()
A
49 8 32
findMatchingAttributeOption()
A
47 7 41
importAttribute()
S
47 5 39
setAttributeOptionImage()
S
61 5 12
prepareNewAttributeSlug()
S
57 3 16
getUnmatchedAttributes()
S
62 3 12
getAttributeOptionTermIdByAttributeOptionIdInMeta()
S
56 2 19
importsAttributeOptions()
S
58 2 16
unsetAttributeOptionImage()
S
72 3 5
throwExceptionArray()
S
62 2 12
importsAttributes()
S
63 2 11
registerAttributeTemporary()
S
56 1 20
getDefaultType()
S
72 2 6
getAttributeOptionsMap()
S
67 2 8
getAttributeSlug()
S
68 2 7
updateAttributeType()
S
65 1 9
__construct()
S
79 1 3
isAttributeLinkedToBackend()
S
75 1 4
getAttribute()
S
80 1 3